﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ObjectModel.Excel
{
    public class WorkbookDoesNotExistException : Exception
    {
        private string _message;

        public WorkbookDoesNotExistException(string wbName)
        {
            _message = string.Format("Problem opening file: {0}.\n\nWorkbook does not exist.", wbName);
        }

        public override string Message
        {
            get { return _message; }
        }
    }
}
